import React from "react";
import { Card, Tabs } from "antd";
import AgentConfig from "./components/AgentConfig";
import AgentSubscription from "./components/AgentSubscription";
import AgentUsage from "./components/AgentUsage";

const { TabPane } = Tabs;

const UserAgent: React.FC = () => {
  return (
    <Card title="Agent管理">
      <Tabs defaultActiveKey="1">
        <TabPane tab="Agent配置" key="1">
          <AgentConfig />
        </TabPane>
        <TabPane tab="Agent订阅" key="2">
          <AgentSubscription />
        </TabPane>
        <TabPane tab="Agent使用" key="3">
          <AgentUsage />
        </TabPane>
      </Tabs>
    </Card>
  );
};

export default UserAgent;


